package cn.how2j.springcloud;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@Component
@FeignClient(value = "digital-scaffolder-business-a",fallback = SchedualServiceHiHystric.class)
public interface SchedualServiceB {
	  @RequestMapping(value = "/hi",method = RequestMethod.GET)
	    String sayHiFromClientOne(@RequestParam(value = "name") String name);
}
